New Variant[] (gb)

Dim hVariantArray As Variant[]
hVariantArray = New Variant[] ( [ Size As Integer, ... ] )

Create an array of Variant values.

  • Size specifies the initial size of the array. By default, the array is initially void.

The array can have up to eight dimensions. Each new dimension's size must be specified as an extra argument.

Examples

'Declares a table of variants
DIM aTable AS NEW Variant[12, 8]